Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sign bulk psbts #42

Merged
merged 7 commits into from
Nov 29, 2023
Merged

Conversation

m-aboelenein
Copy link
Member

No description provided.

@m-aboelenein m-aboelenein self-assigned this Oct 25, 2023

export interface SignMultipleTransactionsPayload extends RequestPayload {
message: string;
psbts: PsbtPayload[];
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just checking on this, do we expect some psbts to have broadcast set to true and some to false or should boroadcast maybe be pulled out of the PsbtPayload type?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yeah this was the point i brought up during the daily before maybe @yknl can chime in on that one

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

also only passing an address without specifying and index

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should pull it out. Having some transactions broadcasted and some not would be bad UX. Developers can always make another request for transactions that they don't intend to broadcast immediately.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@m-aboelenein will you change the interface here so that broadcast boolean property is related to all of the psbts sent to sign?

@m-aboelenein
Copy link
Member Author

Test this PR with npm i [email protected]

@dhriaznov interface updated

Copy link

Test this PR with npm i --save-exact [email protected]

@teebszet teebszet merged commit 488fdeb into develop Nov 29, 2023
3 checks passed
@teebszet teebszet deleted the mahmoud/eng-2877-batch-sign-psbt-in-sats-connect branch November 29, 2023 09:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants